package com.effects;

import com.server.Plasma;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.image.BufferedImage;

/**
 * @author sad
 */
public class PlasmaEffect extends BasicEffect {

    private final double[] tArray = new double[78];
    private double offset = 20;
    int index = 0;
    private final Plasma plasma;
    public PlasmaEffect() {
        plasma=new Plasma();
    }

    @Override
    public String getEffectName() {
        return "Plasma";
    }

    @Override
    public String getId() {
        return "plasma";
    }

    @Override
    public BufferedImage getImage(byte[] pcm) {
        plasma.update();
        return plasma.getImage();
        
    }
}
